

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title><Title></Title></title>
        <script src="../vue.global.js"></script>
    </head>
    <body>
        <p id="app1">{{message}}</p>
        <script>
            const App = {
                data(){
                    return {
                        message:'Hello Vue!!'
                    }
                }
            }
            Vue.createApp(App).mount('#app1')
          
        </script>
          <!--Vue的应用通过使用createApp函数创建-->
            <!--const app = Vue.createApp({ /* 根组件选项 */ })-->
            <!--mount()函数将Vue应用挂载到app1的id标签中-->
    </body>
</html>